from __future__ import absolute_import, unicode_literals
import time
from celery import shared_task


@shared_task
def test():
    for i in range(1000000):
        time.sleep(3)
        print(i)
    return {"code":200,"msg":"OK"}